<% form_for :review, :url => reviews_path, :html => { :id => "form" } do |f| -%>
  <%= f.error_messages -%>
  
  <div class="box">
    <table class="table border">
      <tr class="th">
        <td width="80" align="right"><strong>商品编号</strong></td>
        <td><%= f.text_field :item_id, :style => "width:400px;" %></td>
      </tr>
      <tr class="tr2">
        <td width="80" align="right"><strong>用户</strong></td>
        <td><%= f.text_field :user_id, :style => "width:400px;" %></td>
      </tr>
      <tr>
        <td width="80" align="right"><strong>内容</strong></td>
        <td><%= f.text_area :content, :rows => 8, :style => "width:99%;" %></td>
      </tr>
      <tr class="tr2">
        <td align="right"><strong>标签</strong></td>
        <td><%= f.text_field :tags, :style => "width:400px;" %></td>
      </tr>
      <tr>
        <td width="80" align="right"><strong>印象</strong></td>
        <td><%= f.text_field :impression, :style => "width:400px;" %></td>
      </tr>
    </table>
  </div>
<% end -%>
